using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HeresyManager.Talents
{
    [Serializable]
    public class Talented : Talent
    {
        private Skill charm;

        public Talented(Skill charm)
        {
            this.charm = charm;
        }

        public override string Name
        {
            get { return "Talented (" + charm + ")"; }
        }


        public override bool Equals(object obj)
        {
            return base.Equals(obj) && charm.GetType().Equals((obj as Talented).charm.GetType());
        }
    }
}
